﻿using MediatR;
using SqlSugar;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Security.Principal;

namespace J.FoodManageSet.Application.Command.DishesCommand
{
    public class DishesAddUpDateCommand:IRequest<int>
    {
            /// <summary>
            /// 菜品表ID
            /// </summary>
            public int DishId { get; set; }
            /// <summary>
            /// 菜品名称
            /// </summary>
            public string? DishesName { get; set; }
            /// <summary>
            /// 菜品图片
            /// </summary>
            public string? DishesImgs { get; set; }
            /// <summary>
            /// 菜品介绍
            /// </summary>
            public string? DishesIntroduce { get; set; }
            /// <summary>
            /// 销售价
            /// </summary>
            public bool SalesPrice { get; set; }
            /// <summary>
            /// 价格
            /// </summary>
            public decimal DishesPrice { get; set; }
            /// <summary>
            /// 库存
            /// </summary>
            public int Inventory { get; set; }
            /// <summary>
            /// 菜品规格id
            /// </summary>
            public int SpecificationId { get; set; }
            /// <summary>
            /// 菜品口味
            /// </summary>
            public bool DishesTaste { get; set; }
            /// <summary>
            /// 口味名称
            /// </summary>
            public string? TasteName { get; set; }
            /// <summary>
            /// 口味Id
            /// </summary>
            public int TasteId { get; set; }
            /// <summary>
            /// 菜品id
            /// </summary>
            public int GroupingId { get; set; }
            /// <summary>
            /// 售卖时段
            /// </summary>
            public bool Selling { get; set; }
            /// <summary>
            /// 营业时间:(星期)
            /// </summary>
            public string? WeekDate { get; set; }
        /// <summary>
        /// 营业时间段
        /// </summary>
        public string? BusinessTimeOne { get; set; }
        /// <summary>
        /// 营业时间段
        /// </summary>
        public string? BusinessTimeTwo { get; set; }
        /// <summary>
        /// 总数量
        /// </summary>
        public int DishesNum { get; set; }
        
    }
}
